Js數組includes() Array.prototype.includes方法返回一個布爾值,表示某個數組是否包含給定的值,與字符串的includes方法類似。該方法屬於 ES7 ,但 Babel 轉碼器已經支持。 ...